<?php 
$this->E_D("DROP TABLE IF EXISTS `db_link`;");
$this->E_C("CREATE TABLE `db_link` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `catid` int(11) NOT NULL,
  `status` tinyint(3) NOT NULL,
  `name` varchar(50) NOT NULL,
  `thumb` varchar(255) DEFAULT NULL,
  `link` varchar(255) DEFAULT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8");

 ?>